package com.ksm.transfer.dto;

import java.io.Serializable;

public class TvaDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 382329901464919712L;
	private Long id;
	private String name;
	private Double taux;

	private static int COUNTER = 0;

	public TvaDTO() {
		this.id = Long.valueOf(COUNTER++);
	}

	public TvaDTO(String name) {
		super();
		this.name = name;
	}

	public TvaDTO(Long id, String name, Double taux) {
		super();
		this.id = id;
		this.name = name;
		this.taux = taux;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Double getTaux() {
		return taux;
	}

	public void setTaux(Double taux) {
		this.taux = taux;
	}

}